package com.blueocean_health.care.management.controller.app;


import java.util.List;

import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.blueocean_health.care.management.domain.base.Advert;
import com.blueocean_health.care.management.domain.base.SysResult;
import com.blueocean_health.care.management.service.IAppAdvertisementService;

@RestController
@RequestMapping(value = "app/advert")
public class AppAdvertisementHandler{
	@Resource
	private IAppAdvertisementService appAdvertisementService;
	//手机端订单列表接口
	@RequestMapping(value = "list")
	public SysResult appAdvertList() {
		List<Advert> appAdvertList = appAdvertisementService.appAdvertList();
		return SysResult.ok(appAdvertList);
		
	} 
}
